import request from '@/utils/request'

// 查询用户vip充值log列表
export function listVipLog(query) {
  return request({
    url: '/com/vipLog/list',
    method: 'get',
    params: query
  })
}

// 查询用户vip充值log详细
export function getVipLog(id) {
  return request({
    url: '/com/vipLog/' + id,
    method: 'get'
  })
}

// 新增用户vip充值log
export function addVipLog(data) {
  return request({
    url: '/com/vipLog',
    method: 'post',
    data: data
  })
}

// 修改用户vip充值log
export function updateVipLog(data) {
  return request({
    url: '/com/vipLog',
    method: 'put',
    data: data
  })
}

// 删除用户vip充值log
export function delVipLog(id) {
  return request({
    url: '/com/vipLog/' + id,
    method: 'delete'
  })
}

// 导出用户vip充值log
export function exportVipLog(query) {
  return request({
    url: '/com/vipLog/export',
    method: 'get',
    params: query
  })
}